<el-dialog title="新增明细" v-model="addFormDialog">
  <el-form  ref="addForm" :label-width="dialogLabelWidth" :model="addForm" :rules="addRules">
    <el-row>
      <el-col :span="11">
        <el-form-item label="费用类型" prop="expense_type">
		      <el-select size="small" style="width:150px;" v-model="addForm.expense_type" placeholder="费用类型">
		      <el-option v-for="(value,key) in expense_type" :label="value" :value="key"></el-option>
		      </el-select>
		  	</el-form-item>
      </el-col>
      <el-col :span="11">
        <el-form-item label="报销事由" prop="reason">
          <el-input v-model="addForm.reason" placeholder="请填写报销事由"></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <el-row>
      <el-col :span="11">
        <el-form-item label="预支费用" prop="advance_payment">
          <el-input v-model.number="addForm.advance_payment" placeholder="格式为数字和小数点8888或888.8" :maxlength="8"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="11">
        <el-form-item label="报销金额" prop="reimbursement">
          <el-input v-model.number="addForm.reimbursement" placeholder="格式为数字和小数点8888或888.8" :maxlength="8"></el-input>
        </el-form-item>
      </el-col>
    </el-row>

    <el-row>
      <el-col :span="11">
        <el-form-item label="经报人" prop="cashier">
          <el-input v-model="addForm.cashier" placeholder="请填写经报人"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="11">
        <el-form-item label="报销日期" prop="re_time">
          <el-date-picker v-model="addForm.re_time" type="date" placeholder="选择报销日期" 
           style="max-width:200px;" :editable="false" @change="ReTime">
          </el-date-picker>
        </el-form-item>
      </el-col>
    </el-row>
 
    <el-row>
      <el-col :span="22">
        <el-form-item label="备注" prop="remark">
          <el-input type="textarea" :rows="4" v-model="addForm.remark" placeholder="请填写活动备注"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>

  <div slot="footer" class="dialog-footer">
   <include file="Common:_add" />
  </div>

</el-dialog>
